package com.hsgene.order.service.api;

import com.hsgene.commit.domain.dto.OrderCommitInfo;
import com.hsgene.common.util.result.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Deprecated
@FeignClient(name = "ms-mod-commit", path = "/commit/order_commit")
public interface CommitService {

    /**
     * 获取评论
     *
     * @param orderId 订单id
     * @return
     */
    @GetMapping
    ApiResult<OrderCommitInfo> queryCommitByOrderId(@RequestParam("orderId") String orderId);
}
